/**
 * 选择视频、音频
 * @param fileType 文件类型
 */
function selectCommonVideo(fileType) {
    var title = '选择视频';
    if(fileType=='ARTICLE' || fileType =='AUDIO'){
        title ='选择音频';
    }
    parent.layer.open({
        type: 2,
        area: winArea,
        btn: ['选择', '取消'],
        content: baseloaction + "/admin/course/selectVideo?fileType=" + fileType,
        maxmin: true,
        shade: [0.3, '#000'],
        shadeClose: false,
        title: title,
        yes: function (index, layero) {
            var _iframe = layero.find("iframe:visible");
            var iframeName = _iframe[0].name;
            var video = parent.frames[iframeName].getSelectVideo();
            if (video) {
                var currentIframeName = contentMainIframeName();
                parent.frames[currentIframeName].selectVideoCallback(video);
                parent.layer.close(index);
            }
        }
    });
}